/**
* Plugin Name: Elementor
* Description: The Elementor Website Builder has it all: drag and drop page builder, pixel perfect design, mobile responsive editing, and more. Get started now!
* Plugin URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
* Author: Elementor.com
* Version: 3.19.4
* Author URI: https://elementor.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
*
* Text Domain: elementor
*
* @package Elementor
* @category Core
*
* Elementor is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* any later version.
*
* Elementor is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
define( 'ELEMENTOR_VERSION', '3.19.4' );
define( 'ELEMENTOR__FILE__', __FILE__ );
define( 'ELEMENTOR_PLUGIN_BASE', plugin_basename( ELEMENTOR__FILE__ ) );
define( 'ELEMENTOR_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) );
if ( defined( 'ELEMENTOR_TESTS' ) && ELEMENTOR_TESTS ) {
define( 'ELEMENTOR_URL', 'file://' . ELEMENTOR_PATH );
} else {
define( 'ELEMENTOR_URL', plugins_url( '/', ELEMENTOR__FILE__ ) );
}
define( 'ELEMENTOR_MODULES_PATH', plugin_dir_path( ELEMENTOR__FILE__ ) . '/modules' );
define( 'ELEMENTOR_ASSETS_PATH', ELEMENTOR_PATH . 'assets/' );
define( 'ELEMENTOR_ASSETS_URL', ELEMENTOR_URL . 'assets/' );
add_action( 'plugins_loaded', 'elementor_load_plugin_textdomain' );
if ( ! version_compare( PHP_VERSION, '7.4', '>=' ) ) {
add_action( 'admin_notices', 'elementor_fail_php_version' );
} elseif ( ! version_compare( get_bloginfo( 'version' ), '6.0', '>=' ) ) {
add_action( 'admin_notices', 'elementor_fail_wp_version' );
} else {
require ELEMENTOR_PATH . 'includes/plugin.php';
}
/**
* Load Elementor textdomain.
*
* Load gettext translate for Elementor text domain.
*
* @since 1.0.0
*
* @return void
*/
function elementor_load_plugin_textdomain() {
load_plugin_textdomain( 'elementor' );
}
/**
* Elementor admin notice for minimum PHP version.
*
* Warning when the site doesn't have the minimum required PHP version.
*
* @since 1.0.0
*
* @return void
*/
function elementor_fail_php_version() {
$message = sprintf(
/* translators: 1: `
` opening tag, 2: ` ` closing tag, 3: PHP version. 4: Link opening tag, 5: Link closing tag. */
esc_html__( '%1$sElementor isn’t running because PHP is outdated.%2$s Update to PHP version %3$s and get back to creating! %4$sShow me how%5$s', 'elementor' ),
'',
' ',
'7.4',
'',
' '
);
$html_message = sprintf( '%s
', wpautop( $message ) );
echo wp_kses_post( $html_message );
}
/**
* Elementor admin notice for minimum WordPress version.
*
* Warning when the site doesn't have the minimum required WordPress version.
*
* @since 1.5.0
*
* @return void
*/
function elementor_fail_wp_version() {
$message = sprintf(
/* translators: 1: `` opening tag, 2: ` ` closing tag, 3: WP version. 4: Link opening tag, 5: Link closing tag. */
esc_html__( '%1$sElementor isn’t running because WordPress is outdated.%2$s Update to version %3$s and get back to creating! %4$sShow me how%5$s', 'elementor' ),
'',
' ',
'6.0',
'',
' '
);
$html_message = sprintf( '%s
', wpautop( $message ) );
echo wp_kses_post( $html_message );
}
jQuery(document).ready(function() {
let popupPosition = function() {
let pad = jQuery('#wpcontent').css('padding-left');
jQuery('.trustindex-popup').css({
right: pad,
'margin-left': pad
});
};
popupPosition();
jQuery(window).resize(popupPosition);
jQuery(document).on('click', '.trustindex-notification-row .ti-close-notification', function(event) {
let container = jQuery(this).closest('.trustindex-notification-row');
container.data('close-url', "").find('.notice-dismiss').trigger('click');
});
jQuery(document).on('click', '.trustindex-notification-row .ti-remind-later, .trustindex-notification-row .ti-hide-notification', function(event) {
event.preventDefault();
let container = jQuery(this).closest('.trustindex-notification-row');
container.data('close-url', jQuery(this).attr('href')).find('.notice-dismiss').trigger('click');
return false;
});
jQuery(document).on('click', '.trustindex-notification-row .notice-dismiss', function(event) {
event.preventDefault();
let closeUrl = jQuery(this).closest('.trustindex-notification-row').data('close-url');
if (closeUrl) {
jQuery.post(closeUrl, {});
}
});
});/**
* Favicon by RealFaviconGenerator.
*
* @package favicon-by-realfavicongenerator
* @author Philippe Bernard
* @license GPLv2
* @link http://www.gnu.org/licenses/gpl-2.0.html
* @copyright 2014 RealFaviconGenerator
*
* @wordpress-plugin
* Plugin Name: Favicon by RealFaviconGenerator
* Plugin URI: http://realfavicongenerator.net/extensions/wordpress
* Description: Create and install your favicon for all platforms: PC/Mac of course, but also iPhone/iPad, Android devices, Windows 8 tablets, etc.
* Version: 1.3.30
* Author: Philippe Bernard
* Author URI: http://realfavicongenerator.net/
* License: GPLv2
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: favicon-by-realfavicongenerator
* Domain Path: /languages/
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
/*
----------------------------------------------------------------------------*
* Public-Facing Functionality
*----------------------------------------------------------------------------*/
require_once plugin_dir_path( __FILE__ ) . 'public' . DIRECTORY_SEPARATOR .
'class-favicon-by-realfavicongenerator.php';
register_activation_hook( __FILE__, array( 'Favicon_By_RealFaviconGenerator', 'activate' ) );
register_deactivation_hook( __FILE__, array( 'Favicon_By_RealFaviconGenerator', 'deactivate' ) );
add_action( 'plugins_loaded', array( 'Favicon_By_RealFaviconGenerator', 'get_instance' ) );
/*
----------------------------------------------------------------------------*
* Dashboard and Administrative Functionality
*----------------------------------------------------------------------------*/
if ( is_admin() ) {
require_once plugin_dir_path( __FILE__ ) . 'admin' . DIRECTORY_SEPARATOR .
'class-favicon-by-realfavicongenerator-admin.php';
add_action( 'plugins_loaded', array( 'Favicon_By_RealFaviconGenerator_Admin', 'get_instance' ) );
}
/*
Plugin Name: Category Order and Taxonomy Terms Order
Plugin URI: http://www.nsp-code.com
Description: Order Categories and all custom taxonomies terms (hierarchically) and child terms using a Drag and Drop Sortable javascript capability.
Version: 1.8
Author: Nsp-Code
Author URI: https://www.nsp-code.com
Author Email: electronice_delphi@yahoo.com
Text Domain: taxonomy-terms-order
Domain Path: /languages/
*/
define('TOPATH', plugin_dir_path(__FILE__));
define('TOURL', plugins_url('', __FILE__));
include_once ( TOPATH . '/include/functions.php' );
include_once ( TOPATH . '/include/addons.php' );
register_deactivation_hook(__FILE__, 'TO_deactivated');
register_activation_hook(__FILE__, 'TO_activated');
function TO_activated( $network_wide )
{
global $wpdb;
// check if it is a network activation
if ( $network_wide )
{
// Get all blog ids
$blogids = $wpdb->get_col("SELECT blog_id FROM $wpdb->blogs");
foreach ( $blogids as $blog_id )
{
switch_to_blog( $blog_id );
TTO_functions::check_table_column();
restore_current_blog();
}
return;
}
else
TTO_functions::check_table_column();
}
add_action( 'wp_initialize_site', 'TO_wp_initialize_site', 99, 2 );
function TO_wp_initialize_site( $blog_data, $args )
{
global $wpdb;
if ( is_plugin_active_for_network('taxonomy-terms-order/taxonomy-terms-order.php') )
{
switch_to_blog( $blog_data->blog_id );
TTO_functions::check_table_column();
restore_current_blog();
}
}
function TO_deactivated()
{
}
add_action( 'plugins_loaded', 'to_load_textdomain');
function to_load_textdomain()
{
load_plugin_textdomain('taxonomy-terms-order', FALSE, dirname( plugin_basename( __FILE__ ) ) . '/languages');
}
//check if the table column still exists
add_action( 'plugins_loaded', 'tto_check_setup');
function tto_check_setup()
{
if ( is_admin() )
TTO_functions::check_table_column();
}
add_action('admin_print_scripts', 'TO_admin_scripts');
function TO_admin_scripts()
{
wp_enqueue_script('jquery');
wp_enqueue_script('jquery-ui-sortable');
$myJsFile = TOURL . '/js/to-javascript.js';
wp_register_script('to-javascript', $myJsFile);
wp_enqueue_script( 'to-javascript');
}
add_action('admin_print_styles', 'TO_admin_styles');
function TO_admin_styles()
{
$myCssFile = TOURL . '/css/to.css';
wp_register_style('to.css', $myCssFile);
wp_enqueue_style( 'to.css');
}
add_action('admin_menu', 'TO_PluginMenu', 99);
function TO_PluginMenu()
{
include (TOPATH . '/include/interface.php');
include (TOPATH . '/include/terms_walker.php');
include (TOPATH . '/include/options.php');
add_options_page('Taxonomy Terms Order', '' . __('Taxonomy Terms Order', 'taxonomy-terms-order'), 'manage_options', 'to-options', 'to_plugin_options');
$options = TTO_functions::get_settings();
if(isset($options['capability']) && !empty($options['capability']))
$capability = $options['capability'];
else if (is_numeric($options['level']))
{
//maintain the old user level compatibility
$capability = TTO_functions::userdata_get_user_level();
}
else
{
$capability = 'manage_options';
}
//put a menu within all custom types if apply
$post_types = get_post_types();
foreach( $post_types as $post_type)
{
//check if there are any taxonomy for this post type
$post_type_taxonomies = get_object_taxonomies($post_type);
foreach ($post_type_taxonomies as $key => $taxonomy_name)
{
$taxonomy_info = get_taxonomy($taxonomy_name);
if (empty($taxonomy_info->hierarchical) || $taxonomy_info->hierarchical !== TRUE)
unset($post_type_taxonomies[$key]);
}
if (count($post_type_taxonomies) == 0)
continue;
$TTO_Interface = new TTO_Interface();
if ($post_type == 'post')
add_submenu_page('edit.php', __('Taxonomy Order', 'taxonomy-terms-order'), __('Taxonomy Order', 'taxonomy-terms-order'), $capability, 'to-interface-'.$post_type, array ( $TTO_Interface, 'Interface' ) );
elseif ($post_type == 'attachment')
add_submenu_page('upload.php', __('Taxonomy Order', 'taxonomy-terms-order'), __('Taxonomy Order', 'taxonomy-terms-order'), $capability, 'to-interface-'.$post_type, array ( $TTO_Interface, 'Interface' ) );
else
add_submenu_page('edit.php?post_type='.$post_type, __('Taxonomy Order', 'taxonomy-terms-order'), __('Taxonomy Order', 'taxonomy-terms-order'), $capability, 'to-interface-'.$post_type, array ( $TTO_Interface, 'Interface' ) );
}
}
add_filter('terms_clauses', 'TO_apply_order_filter', 10, 3);
function TO_apply_order_filter( $clauses, $taxonomies, $args)
{
if ( apply_filters('to/get_terms_orderby/ignore', FALSE, $clauses['orderby'], $args) )
return $clauses;
$options = TTO_functions::get_settings();
//if admin make sure use the admin setting
if (is_admin())
{
//return if use orderby columns
if (isset($_GET['orderby']) && $_GET['orderby'] != 'term_order')
return $clauses;
if ( $options['adminsort'] == "1" && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ) )
{
if ( $clauses['orderby'] == 'ORDER BY t.name' )
$clauses['orderby'] = 'ORDER BY t.term_order '. $clauses['order'] .', t.name';
else
$clauses['orderby'] = 'ORDER BY t.term_order';
}
return $clauses;
}
//if autosort, then force the menu_order
if ($options['autosort'] == "1" && (!isset($args['ignore_term_order']) || (isset($args['ignore_term_order']) && $args['ignore_term_order'] !== TRUE) ) )
{
$clauses['orderby'] = 'ORDER BY t.term_order';
}
return $clauses;
}
add_filter('get_terms_orderby', 'TO_get_terms_orderby', 1, 2);
function TO_get_terms_orderby($orderby, $args)
{
if ( apply_filters('to/get_terms_orderby/ignore', FALSE, $orderby, $args) )
return $orderby;
if (isset($args['orderby']) && $args['orderby'] == "term_order" && $orderby != "term_order")
return "t.term_order";
return $orderby;
}
add_action( 'wp_ajax_update-taxonomy-order', 'TO_saveAjaxOrder' );
function TO_saveAjaxOrder()
{
global $wpdb;
if ( ! wp_verify_nonce( $_POST['nonce'], 'update-taxonomy-order' ) )
die();
$data = stripslashes($_POST['order']);
$unserialised_data = json_decode($data, TRUE);
if (is_array($unserialised_data))
foreach($unserialised_data as $key => $values )
{
//$key_parent = str_replace("item_", "", $key);
$items = explode("&", $values);
unset($item);
foreach ($items as $item_key => $item_)
{
$items[$item_key] = trim(str_replace("item[]=", "",$item_));
}
if (is_array($items) && count($items) > 0)
{
foreach( $items as $item_key => $term_id )
{
$wpdb->update( $wpdb->terms, array('term_order' => ($item_key + 1)), array('term_id' => $term_id) );
}
clean_term_cache($items);
}
}
do_action('tto/update-order');
wp_cache_flush();
die();
}
?>
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
class CPT_Compatibility
{
function __construct()
{
$this->init();
}
function init()
{
$CompatibilityFiles = array(
'the-events-calendar.php',
'LiteSpeed_Cache.php',
'formidable.php'
);
foreach( $CompatibilityFiles as $CompatibilityFile )
{
if ( is_file( CPTPATH . 'compatibility/' . $CompatibilityFile ) )
include_once( CPTPATH . 'compatibility/' . $CompatibilityFile );
}
/**
* Themes
*/
$theme = wp_get_theme();
if( ! $theme instanceof WP_Theme )
return FALSE;
$compatibility_themes = array(
'enfold' => 'enfold.php',
);
if (isset( $theme->template ) )
{
foreach ( $compatibility_themes as $theme_slug => $compatibility_file )
{
if ( strtolower( $theme->template ) == $theme_slug || strtolower( $theme->name ) == $theme_slug )
{
include_once( CPTPATH . 'compatibility/themes/' . $compatibility_file );
}
}
}
do_action('cpt/compatibility/init');
}
}
new CPT_Compatibility();
?>$banner = get_template_directory_uri() . "/images/about/topbanner.png";
$caption = "Learn more below";
$caption_hover = "Over 30 years of experience";
if (is_single()) {
if (get_post_type() === 'model') {
$banner = get_template_directory_uri() . "/images/models/models.png";
}
if (get_post_type() === 'listing') {
$banner = get_template_directory_uri() . "/images/locations/main-banner.png";
}
}
if (get_field('banner')) {
$banner = get_field('banner');
}
if (get_field('caption')) {
$caption = get_field('caption');
}
if (get_field('caption_hover')) {
$caption_hover = get_field('caption_hover');
}
?>
Page not found – Coral Blue Homes
404 Error Page
Not Found
Sorry, but you are looking for something that isn't here.